package com.study.sbsummary.config.constant;

/**
 * @Description 文章状态枚举
 * @Author hushichao
 * @Date 21:07 2022-02-16
 **/
public enum DocCollectionStatusEnum {

    /*
    * 状态：0正常，1删除 2注销账号 3违规封号
    * */
    DocCollectionNormal(0, "正常"),
    DocCollectionDel(1, "删除"),
    DocCollectionLogout(2, "注销账号"),
    DocCollectionAccountBanned(3, "违规封号"),
    ;

    private final Integer code;
    private final String status;

    DocCollectionStatusEnum(Integer code, String message) {
        this.code = code;
        this.status = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getStatus() {
        return status;
    }

}
